package com.junhong.action;

import javax.annotation.Resource;

import com.junhong.entity.User;
import com.junhong.service.UserService;

public class UserDeleteAction {
	
	private Integer userId;
	
	@Resource
	private UserService userService;
	public void delete() {
		User user = new User(userId, null, null,null, null, null, null);
		userService.delete(user);
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	
}
